For last 6 months, I’ve been working on several facebook application development including my personal apps. All the applications I developed using the FBML as canvas page url. For my last 2 applications, GRE + Sun dictionary I’ve to integrate flash application within canvas page. And I found there are several restriction applied to flash player if I use FBML as canvas page. So this is pain.
If you use FBML as your canvas page , you’ve to learn and have to depend on facebook FBML + FBJS. And FBJS is sometimes very bothering because it is facebook modified javascript.
Yesterday, I was porting one of my old flash game into facebook app and I choose IFrame as Canvas page URL of facebook application development. And I found it is very cool to use IFrame than FBML. Here I’ve given my personal opinions:
- If you choose IFrame, you have to learn and spend very few hours of facebook application development.
- You could use standard javascript or any javascript framework like jQuery. So, you save time by not learning facebook made FBJS.
- You could easily integrate flash app within your IFrame, as like as normal web application.
- Using XFBML you can render some useful FBML tags within in your IFrame application.
- Developing application becomes faster if you choose IFrame.
- You can port any web application easily to facebook application if you choose IFrame.
- If you target, you’ll port your application in facebook, myspace or other social site, then choosing IFrame for facebook definately the best idea.
*** This is my personal opinion on facebook application developement.
December 3, 2008 at 5:52 am
I have developed all my FB apps in FBML adding ads or Flash animations using IFrame tags inside FBML. This way you get all the functionality of FBML and FBJS plus you can have flashes and/or ads in your application.
December 3, 2008 at 8:11 am
@nickpestov
Yeah, whatever you said that’s true. But when you want to develop an application that you want to port for other social network like myspace then if you use fbml + fbjs, its very problematic and costly to migrate that app. And if you choose iframe it’s very easy to convert your external web application for facebook. But whatever, developing an application for facebook depends on many criteria..
December 28, 2008 at 3:08 pm
Good points. Here’s a good run-down on the pro’s and con’s of IFrame vs FBML canvas given some new developments on the Facebook platform:
http://www.ccheever.com/blog/?p=10
I’ve been developing an IFrame canvas precisely for the reason of using more general technologies (javascript, jquery, etc) rather than FB-specific technologies. There are some important drawbacks of doing an IFrame canvas, however:
I find XFBML still lacking (e.g., target=”_top” doesn’t work) and fb:serverfbml not working working properly (FBML UI doesn’t display properly inside the embedded iframe). Also the lack of history support may be bad, depending on whether your app requires the Url to change in the user’s browser.
The trend seems to be going to going towards IFrame though, once FB addresses the above issues.
December 28, 2008 at 7:22 pm
@James Shaw,
I’m completely agree with you. In current situation, IFrame + Canvas has still some limitations. However, If any existing web application need to migrate in facebook application then IFrame is better. If any flash game/application is developed for Facebook then IFrame is better. For other type of application that is developed solely for facebook then FBML is best choice for me. 🙂
December 29, 2008 at 6:51 pm
i did all my apps (more then 15) using FBML . And its nice with google ads ,flash etc . But now i think i’ll give that a shot 🙂
February 7, 2009 at 1:13 pm
I have made two apps for facebook. One with fbml and other in iframe. I think iframe is cool. Fast development + don’t have to learn much facebook app crap 🙂
February 8, 2009 at 2:53 am
hi all ..i am trying to port my exist web application into Facebook App. So the website can be accessed directly by going to the URL directly or via the Facebook App. However, I am stuck because of what seems to be a simple problem, for which I have no solution.
I am basically thinking that depending upon where the request is originating from, .i.e, if a user directly comes to my site and access it or if they access my website via a facebook app, I will emit either regular HTML or FBML.
However, the problem is, is there a clean way of figuring out if the app is being accessed from Facebook ?
May 5, 2009 at 12:48 pm
Can I ask something? I already create an app using FMBL. I learn it on facebook app example and it works well.. until i want to save my data from my app. I’m putting flash game on my app. my game can’t call “navigateToURL” for redirecting to the same page for submitting score.
I already search a lot, and come says FB already block it.
Do you have any suggestion for that problem? Someone says it better use iframe, but i don’t have any idea to start with iframe.. can u send some example or just teach me the the first step to do?
I’m totaly confused @_@
Thanks in advance
May 13, 2009 at 12:46 am
tekyin, take a look at the fbjs:bridge stuff.
Basically, you can call a javascript (FBJS) function from your flash app to do the navigation for you.
I’m not 100% positive offhand, but I think it’d be something like “window.location = theURL”.
There are some good examples of this stuff out there. Look up “callFBJS” / “fbjs bridge” / “LocalConnection”, etc.
Good luck to you!
May 26, 2009 at 10:38 pm
Hi! I’m porting a flash game to facebook. On my setting, when I point my Canvas Callback URL to the swf living on my server, it works perfect, but when I embed it on a html page, using iFrame, it lacks pulling basic info like user id etc. Can you share a sample of html with swf emebeded? I’m a flash developer but not an iFrame person.
Thank you!
November 17, 2009 at 12:16 pm
plz check the basic path of file you are going to intergrate with the html page using the iframe.
i have tried it using the flash and ifram and html it works well on facebook
July 14, 2009 at 6:28 pm
hey…
I just wrote an application in FBML… and I am trying to rewrite the same in IFrame… I need to connect to my database to extract some user information.
How do I do it with Iframes???
August 4, 2009 at 7:36 am
hi, man…
I found your blog accidentally, lol because I was searching about which is better fbml or iframe… well, I read all the post and opinions, but in conclusion which is better? =D
according to what I read, if you are developing a flash app is better to use Iframe, and if your developing an app that contains some pages is better fbml, right?
October 17, 2009 at 4:29 pm
I need guidance on getting started with Flash and Facebook.
Most of the stuff I found was on Flex.
Is there a video Tutorial or guild out there that can help me to setup the Flash project so 1 – I can interact between Flash and FB 2 – Dump some of the Data to MySQL from the Flash/ FB app .
It’s been a few years since I’ve touched Flash and need a jump start.
Thanks!
November 25, 2009 at 1:16 am
Where can I find program/site builder/software for my fbml fan page. I can’t find any thing on the net?
December 24, 2009 at 12:28 am
Some praise for the FBML can be found here:
http://wiki.developers.facebook.com/index.php/Choosing_between_an_FBML_or_IFrame_Application
March 24, 2010 at 4:30 am
Hi,
I have created a face book application using iframe.I need latest activities publish to friends home page when my action is over.I could publish my posts using Facebook.streampublish() function in FBML.But I couldn’t publish in Iframe.I used stream_publish() function.But no result.
please help me as soon as possible.I am waiting for your valuable reply.Thanks in advance.
Regards John.
March 24, 2010 at 5:03 am
Did you check http://wiki.developers.facebook.com/index.php/Facebook.streamPublish
this functions will surely work for your iframe app.
August 26, 2010 at 3:40 am
is it possible to have a flash based e-commerce site developed in facebook?
November 4, 2010 at 12:54 am
So what setup would you recommend to play embedded YouTube flash, swf inside facebook for mobiles using external iframe site?
January 21, 2011 at 8:59 am
{Nice|Good|Great|Wonderful|Fine|Awesome|Decent|Superb|Fancy|Amazing|Very good|Excellent|Lovely|Well picked|Exclusive|Top quality|Neat|Marvelous|Premium|High quality|Upstanding|Top notch|Nicely picked} {information|info|details|material|ideas|resources|content}, {thanks|many thanks|thank you|give thanks} to the {author|writer|creator|publisher|article author|article writer|journalist}. {It is|It’s|It really is|It truly is|It is actually} {incomprehensible|incomprehensive} {to me|in my experience|if you ask me|in my opinion} {now|right now|currently|at present}, {but in|however in} {general|common|overall}, the {usefulness|effectiveness|success|convenience} and {significance|importance|value|meaning|valuation} is {overwhelming|mind-boggling}. {Thanks|Many thanks|Thank you|With thanks|Appreciate it|Cheers|Regards} and {good luck|best of luck|all the best .}{.|..|…|!}
January 23, 2013 at 9:18 am
Heya i am for the primary time here. I found this board and I to find It truly useful
& it helped me out a lot. I’m hoping to give one thing back and help others such as you helped me.
April 18, 2013 at 1:39 am
I was reading some of your articles on this internet site and I
think this site is rattling instructive! Continue
posting .
August 8, 2013 at 10:49 pm
s better to use whole foods made from scratch for good health.
Withdrawal from levothyroxine can be done but
it takes 6 weeks of withdrawal for the remaining thyroid tissue to be completely starved.
Hence, broccoli is a must-add ingredient in your vegetarian weight loss diet.
August 22, 2015 at 1:53 am
Florida Online dating is the way to go about it where people have made
great traffic in different sites to meet their soul mates and this
has proved to be the best and most effective way of succeeding in this adventure.
It should consist of an attractive picture as well as information about yourself.
As you can imagine, there a lot of online dating sites when you
search the internet, and of course, more of them tend
to pop up as online dating grows in popularity.
November 28, 2015 at 6:17 pm
It might certainly be a better idea than relying on a taxi if you are
travelling with bulky luggage. Enterprise also informed us that they will pick up passengers after the cruise if they want to rent a car to spend
time visiting around Manhattan before their flight
home. In case of an emergency, you must have the numbers of people whom
you may call and they would be easily accessible.
December 31, 2015 at 6:48 pm
You may call a short time before your scheduled pick-up
time to re-confirm your itinerary with the company; if you are being picked up at an airport,
the best companies will keep an eye out for your flight arrival and will act
accordingly if there are any changes or delays in your flight.
You can make a great impact and a fantastic first impression if you are about to
sign a big deal and want the client to have a stellar regard for your
company. With they grow in number, potential clients find it hard to choose a car transportation in New York that
is trustworthy enough to suffice their needs and requirements.